﻿// -----------------------------------------------------------------------
// <copyright file="UpdateUserEmailCommand.cs">
// Copyright (c) 2013 Andrey Veselov. All rights reserved.
// License:  Microsoft Public License (MS-PL)
// Contacts: http://andrey.moveax.com  andrey@moveax.com
// </copyright>
// -----------------------------------------------------------------------

namespace Moveax.DataAccess.Cqrs.Highway.EF.UnitTests.Model.Commands.Users
{
    public class UpdateUserEmailCommand : ICommand
    {
        public int Id { get; private set; }

        public string Email { get; private set; }

        public UpdateUserEmailCommand(int userId, string email)
        {
            this.Id = userId;
            this.Email = email;
        }
    }
}